﻿<%@ Page Language="C#" MasterPageFile="~/RIDHome.Master" AutoEventWireup="true" CodeBehind="PhysicalAddress.aspx.cs" Inherits="ResearchId.Validation.PhysicalAddress" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p>
        Address Line 1:
        <asp:TextBox ID="tbAddressLine1" runat="server" Width="186px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="tbAddressLine1" ErrorMessage="*"></asp:RequiredFieldValidator>
        <br />
        City:
        <asp:TextBox ID="tbCity" runat="server" Width="186px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="tbCity" ErrorMessage="*"></asp:RequiredFieldValidator>
        <br />
        State:&nbsp;
        <asp:DropDownList ID="ddlState" runat="server">
        </asp:DropDownList>
        <br />
        Zip Code:         <asp:TextBox ID="tbZipCode" runat="server" Width="88px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
            ControlToValidate="tbZipCode" ErrorMessage="*"></asp:RequiredFieldValidator>
        <br />
        Country:
        <asp:DropDownList ID="ddlCountry" runat="server" AutoPostBack="True" 
            onselectedindexchanged="ddlCountry_SelectedIndexChanged">
        </asp:DropDownList>
        <br />
        <br />
        <asp:Button ID="btnSave" runat="server" onclick="btnSave_Click" Text="Save" />
&nbsp;<asp:Button ID="btnBack" runat="server" CausesValidation="False" 
            onclick="btnBack_Click" Text="Back" />
    </p>
</asp:Content>
